public class CarDemo {

	public static void main(String[] args) {

		Car volt = new Car();

		volt.changeColor("Black");

		System.out.println("color now is= " + volt.color);

		volt.start();
		volt.changeColor("Blue");

		System.out.println("currentSpeed= " + volt.currentSpeed);

		volt.accelerate(20);
		volt.accelerate(30);
		volt.accelerate(50);
		System.out.println("currentSpeed= " + volt.currentSpeed);
		System.out.println("color now is= " + volt.color);
		
		volt.stop();
		System.out.println("currentSpeed="+volt.currentSpeed);
		
		

	}

}
